From: Yang Zhang Date: Tue, 17 Apr 2012 07:30:27 +0000 (+0100) Subject: fix build error when enabling lock profile X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=f5f061b681ba29850ca7b1905ae584d66da97ddf;p=xen.git fix build error when enabling lock profile Signed-off-by: Yang Zhang Committed-by: Keir Fraser --- diff --git a/xen/common/sysctl.c b/xen/common/sysctl.c index 0cbebb16d8..ea6827886a 100644 --- a/xen/common/sysctl.c +++ b/xen/common/sysctl.c @@ -156,7 +156,6 @@ long do_sysctl(XEN_GUEST_HANDLE(xen_sysctl_t) u_sysctl) if ( ret ) break; - ret = perfc_control(&op->u.perfc_op); ret = spinlock_profile_control(&op->u.lockprof_op); if ( copy_to_guest(u_sysctl, op, 1) ) ret = -EFAULT;